package com.yeyks.consumer.param.UserInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserInfoLoginParam {

    @ApiModelProperty("验证码")
    private String code;
    @ApiModelProperty("手机号码")
    private String phone;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("来源")
    private String sourceType;
    @ApiModelProperty("微信id")
    private String unionId;
    @ApiModelProperty("推荐人id")
    private Integer userId;


    /**
     * @see com.yeyks.common.em.consumer.UserInviteRelationTypeEnum
     */
    @ApiModelProperty(value = "类型")
    private Integer type;


    @ApiModelProperty(value = "用户ip", hidden = true)
    private String ip;
    @ApiModelProperty("用户mac")
    private String mac;
    @ApiModelProperty("用户deviceId")
    private String deviceId;


    //一键登录参数
    @ApiModelProperty(value = "易盾token", hidden = true)
    private String accessCode;
    @ApiModelProperty(value = "运营商授权码", hidden = true)
    private String token;

}
